package com.xujie.sportsmeeting.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

/**
 * 项目报名请求DTO
 */
@Data
@Schema(description = "项目报名请求参数")
public class EventRegistrationDTO {

    @Schema(description = "项目ID", example = "1")
    @NotNull(message = "项目ID不能为空")
    private Long eventId;

    @Schema(description = "运动员ID", example = "1")
    @NotNull(message = "运动员ID不能为空")
    private Long athleteId;

    @Schema(description = "团队名称(团体项目)", example = "计算机学院代表队")
    private String teamName;

    @Schema(description = "报名备注", example = "希望参加此项目")
    private String remarks;
}
